<!DOCTYPE html>
<html lang="en" ng-app="gameAdminPlatform">
<head>
	
	<!-- start: Meta -->
	<meta charset="utf-8">
	<title>对战平台后台管理</title>
	<meta name="description" content="Bootstrap Metro Dashboard">
	<meta name="author" content="Dennis Ji">
	<meta name="keyword" content="Metro, Metro UI, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
	<!-- end: Meta -->
	
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- end: Mobile Specific -->
	
	<!-- start: CSS -->
	<link id="bootstrap-style" href="/admin/css/bootstrap.min.css" rel="stylesheet">
	<link href="/admin/css/bootstrap-responsive.min.css" rel="stylesheet">
	<link id="base-style" href="/admin/css/style.css" rel="stylesheet">
	<link id="base-style-responsive" href="/admin/css/style-responsive.css" rel="stylesheet">
	<link href='http://fonts.useso.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext' rel='stylesheet' type='text/css'>
	<!-- end: CSS -->
	

	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<link id="ie-style" href="/admin/css/ie.css" rel="stylesheet">
	<![endif]-->
	
	<!--[if IE 9]>
		<link id="ie9style" href="/admin/css/ie9.css" rel="stylesheet">
	<![endif]-->
		
	<!-- start: Favicon -->
	<link rel="shortcut icon" href="/admin/img/favicon.ico">
	<!-- end: Favicon -->
</head>

<body>
		<!-- start: Header -->
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<a class="brand" href="index.ejs"><span>Game Admin Platform</span></a>
			</div>
		</div>
	</div>
	<!-- start: Header -->
	
		<div class="container-fluid-full">
		<div class="row-fluid">
				
			<!-- start: Main Menu -->
			<div id="sidebar-left" class="span2">
				<div class="nav-collapse sidebar-nav">
					<ul class="nav nav-tabs nav-stacked main-menu">
						<li><a href="/admin"><i class="icon-cogs"></i><span class="hidden-tablet"> 系统设置</span></a></li>
						<li><a href="/admin/user"><i class="icon-envelope"></i><span class="hidden-tablet"> 用户管理</span></a></li>
						<li><a href="/admin/question"><i class="icon-tasks"></i><span class="hidden-tablet"> 题集管理</span></a></li>
						<li><a href="/admin/report"><i class="icon-dashboard"></i><span class="hidden-tablet"> 报表导出</span></a></li>
					</ul>
				</div>
			</div>
			<!-- end: Main Menu -->
			
			<noscript>
				<div class="alert alert-block span10">
					<h4 class="alert-heading">Warning!</h4>
					<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
				</div>
			</noscript>
			
			<!-- start: Content -->
			<div id="content" class="span10">
			
			
			<ul class="breadcrumb">
				<li>
					<i class="icon-home"></i>
					<a href="index.ejs">Home</a> 
					<i class="icon-angle-right"></i>
				</li>
				<li><a href="#">系统设置</a></li>
			</ul>

			<div class="row-fluid sortable">
				<div class="box span12">
					<div class="box-header" data-original-title>
						<h2><i class="halflings-icon edit"></i><span class="break"></span>系统设置</h2>
						<div class="box-icon">
							<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
						</div>
					</div>
					<div class="box-content">
						<form class="form-horizontal" role="form" action="/admin/settings" method="POST">
							<fieldset>
								<div class="control-group">
									<label class="control-label" for="succPct">挑战成功百分比</label>
									<div class="controls">
										<div class="input-prepend">
											<input id="succPct" name="succPct" type="number" value="<%=Setting.succPct%>" step="10"><span class="add-on">%</span>
										</div>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="breakRecordPct">破纪录获悬赏分比例</label>
									<div class="controls">
										<div class="input-prepend">
											<input id="breakRecordPct" name="breakRecordPct" type="number" value="<%=Setting.breakRecordPct%>" step="5"><span class="add-on">%</span>
										</div>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="score">每题默认分数</label>
									<div class="controls">
										<div class="input-append">
											<input id="score" name="score" size="16" type="number" value="<%=Setting.score%>" step="1">
										</div>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="minNum">最少参战人数</label>
									<div class="controls">
										<div class="input-prepend input-append">
											<input id="minNum" name="minNum" size="16" type="number" value="<%=Setting.minNum%>">
										</div>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="maxNum">最多参战人数</label>
									<div class="controls">
										<div class="input-append">
											<input id="maxNum" name="maxNum" size="16" type="number" value="<%=Setting.maxNum%>">
										</div>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="enrollScore">参战报名积分</label>
									<div class="controls">
										<div class="input-append">
											<input id="enrollScore" name="enrollScore" size="16" type="text" value="<%=Setting.enrollScore%>" step="1">
										</div>
									</div>
								</div>

								<div class="control-group">
									<label class="control-label" for="paperNum">题库试卷数量</label>
									<div class="controls">
										<div class="input-append">
											<input id="paperNum" name="paperNum" size="16" type="text" value="<%=Setting.paperNum%>" step="1">
										</div>
									</div>
								</div>

								<!--<div class="control-group">
									<label class="control-label" for="questionNum">试卷题目数量</label>
									<div class="controls">
										<div class="input-append">
											<input id="questionNum" name="questionNum" size="16" type="text" value="<%=Setting.questionNum%>" step="1">
										</div>
									</div>
								</div>-->

								<div class="form-actions">
									<button type="submit" class="btn btn-primary">保存</button>
								</div>
							</fieldset>
						</form>
					</div>
				</div><!--/span-->

			</div><!--/row-->

	</div><!--/.fluid-container-->
	
			<!-- end: Content -->
		</div><!--/#content.span10-->
		</div><!--/fluid-row-->
		
	<div class="clearfix"></div>
	<footer>

		<p>
			&nbsp;
		</p>

	</footer>
	
	<!-- start: JavaScript-->

		<script src="/admin/js/jquery-1.9.1.min.js"></script>
	<script src="/admin/js/jquery-migrate-1.0.0.min.js"></script>
	
		<script src="/admin/js/jquery-ui-1.10.0.custom.min.js"></script>
	
		<script src="/admin/js/jquery.ui.touch-punch.js"></script>
	
		<script src="/admin/js/modernizr.js"></script>
	
		<script src="/admin/js/bootstrap.min.js"></script>
	
		<script src="/admin/js/jquery.cookie.js"></script>
	
		<script src='/admin/js/fullcalendar.min.js'></script>
	
		<script src='/admin/js/jquery.dataTables.min.js'></script>

		<script src="/admin/js/excanvas.js"></script>

		<script src="/admin/js/jquery.chosen.min.js"></script>
	
		<script src="/admin/js/jquery.uniform.min.js"></script>
		
		<script src="/admin/js/jquery.cleditor.min.js"></script>
	
		<script src="/admin/js/jquery.noty.js"></script>
	
		<script src="/admin/js/jquery.elfinder.min.js"></script>
	
		<script src="/admin/js/jquery.raty.min.js"></script>
	
		<script src="/admin/js/jquery.iphone.toggle.js"></script>
	
		<script src="/admin/js/jquery.uploadify-3.1.min.js"></script>
	
		<script src="/admin/js/jquery.gritter.min.js"></script>
	
		<script src="/admin/js/jquery.imagesloaded.js"></script>
	
		<script src="/admin/js/jquery.masonry.min.js"></script>
	
		<script src="/admin/js/jquery.knob.modified.js"></script>
	
		<script src="/admin/js/jquery.sparkline.min.js"></script>
	
		<script src="/admin/js/counter.js"></script>
	
		<script src="/admin/js/retina.js"></script>

		<script src="/admin/js/custom.js"></script>
</body>
</html>
